home *** CD-ROM | disk | FTP | other *** search
- lcdcpu.doc
-
- NAME
- lcdcpu - display a CPU meter on external LCD
-
- VERSION
- V1.02 - 30.08.96
-
- SYNOPSIS
- lcdcpu Interval/N,Toggleint/N,Clock/S,Mem/S
-
- REQUIREMENTS
- - the "Executive" task scheduler. lcdcpu uses Executive's
- "SysInfo.library" to read current CPU load.
- - the "LCDaemon" hard- and software project. Minimum LCDaemon version
- is V1.6, previous versions didn't support programmable characters.
-
- DESCRIPTION
- I got the idea for lcdcpu from an SGI machine on CeBit where they had
- a small LC display to show the current load of the 16 or so CPUs :-)
- As the "LCDaemon" project (available on AmiNet in hard/hack) allows to
- connect an LC display to the Amiga's parallel port, I decided to
- complement the Executive task scheduler package (on AmiNet as well)
- and LCDaemon to give a similar display. Optionally it can also show a
- clock and/or memory meter.
- Parameters are as follows:
- - Interval/N: interval between two display updates in seconds
- - ToggleInt/N: number of updates to pass before toggling between
- clock and memory display
- - Clock/S: show a clock below the CPU bargraph
- - Mem/S: show free memory in KB
- If both Clock and Mem are specified, lcdcpu will simply toggle
- between both. Default is to toggle every third display update if
- nothing else was specified with ToggleInt/N. Giving TglInt/N alone
- makes lcdcpu assume you want both Clock/S and Mem/S.
- If you don't want either aof them, some percent values for the
- bargraph will be printed in the second line.
-
- BUGS
- - It seems in non-exclusive display access mode (display may be shared
- by multiple programs, which is a feature of LCDaemon I do not want
- to switch off) it's not possible to make the cursor invisible.
- Looks quite ugly :-(
- - Can only use the upper two lines of multi-line LCDs
- - Crashes if Executive is not running. This seems to be a
- SysInfo.library problem though, especially because its signal
- notficaion system is also buggy. I hope Executive 2.0 will fix this
- problem (maybe prevent SysInfo.library from opening if Executive is
- not running).
-
- HISTORY
- V0.9 (09.06.96) First release
-
- V1.0 (27.08.96) Oops...there actually *were* bugs :-)
- This is in fact almost a complete rewrite.
- - Implemented programmable character support
- for a nicer bar.
- - removed some unnecessary sysinfo.library
- calls when using update intervals > 1.
- - Fixed possible problems with VMem (some
- structures which should have been "static"
- were not)
- - sysinfo.library's name has changed to
- "SysInfo.library" :-(
-
- V1.01 (29.08.96) - Some source cleanup, also made the
- executable smaller.
- - One unnecessary custom char was allocated
- on the LCD. Fixed.
- - On at least 18 characters wide displays,
- the clock display now shows seconds.
- - More meaningful errormessages & returncodes
-
- V1.02 (30.08.96) - Specifying TglInt/N is now sufficient to
- activate both clock and memory display.
-
- TODO
- - more Executive system statistics maybe...
-
- AUTHOR
- Matthias Bethke
- Giessener Strasse 31
- 35457 Lollar
- Germany
- postmaster@sweetdreams.lahn.de
- Matthias Bethke@39:176/208.0
-